Revert
The Revert command is a request to replace one or more documents with the versions of the documents that were most recently saved.SYNTAX
revert referenceToDocumentPARAMETER
- referenceToDocument
- A reference to the document or documents to be replaced by
the versions of the documents that were most recently saved. Because the Scriptable Text Editor's document and window objects are interchangeable, either document or window objects can be specified.
Class: ReferenceRESULT
NoneEXAMPLE
revert document "Really Big"